@import "./mixin";
@import"./cssreset";


body{
    background-color: #f5f5f5;
}
// 顶部吸顶通栏
#layout_top{
    width: 100%;
    height: 30px;
    background-color: #F1F1F1;
    color: #735749;
    font-size: 13px;
    position: fixed;
    z-index: 10000;
    .center{
        width: 1200px;
        height: 30px;
        margin: 0px auto;
        .left{
            width: 50%;
            height: 30px;
            line-height: 30px;
            float: left;
            &::after{
                 @include clearboth(); 
            }
        }
        .right{
            width: 400px;
            height: 30px;
            line-height: 30px;
            float: right;
            text-align: right;
            ul{
                // background-color: aqua;
                width:100%;
                height:30px;
                float: right;
                li{
                    float: left;
                    color: #735749;
                    text-decoration: none;
                    margin-right: 10px;
                }
            }
        }
    }
}

// 头部logo

#header_logo{
    width:1200px;
    height:100px;
    margin:0 auto;
    .logo_img{
        width:20%;
        height:100px;
        float: left;
        img{
            margin-top: 15px;
        }
    }
    .logo_right{
        width:450px;
        height:100px;
        float: right;
        img{
            margin-top:30px;
        }
    }
}
// 一条红线
.red_line{
    width:100%;
    height:2px;
    background-color: #C81623;;
}


// 购物车商品结算主要内容
.layout_car{
    width:100%;
    height:2000px;
    // background-color: red;
    .layout_car_center{
        width:1200px;
        height:500px;
        background-color: #fff;
        margin:0 auto;
        margin-top:10px;
        padding-left:26px;
        padding-right:26px;
        // 商品栏头部标题
        .car_header{
            width:100%;
            height:70px;
            line-height: 70px;
            color: #424242;
            .col{
                float: left;
            }
            .goods_img{
                width:160px;
            }
            .goods_name{
                width:420px;
            }
            .goods_price{
                width:75px;
                padding-right: 84px;
                text-align: right;
                color: #424242;
            }
            .goods_number{
                width:150px;
                text-align: center;
                color: #424242;
            }
            .goods_total{
                width:120px;
                padding-right: 81px;
                text-align: right;            
            }
            .goods_action{
                width:80px;
                text-align: center;
            }
        }
        // 商品详情内容分类
        .car_body{
            width:100%;
            height:auto;
            .goods_border{
                width:100%;
                height:auto;
                padding: 15px 26px 15px 0;
                border-top: 1px solid #e0e0e0;
                .goods_info{
                    width:100%;
                    height:auto;
                    .choice{
                        float: left;
                        display: table-cell;
                        vertical-align: middle;
                        height:80px;
                    }
                    .goods_img1{
                        width: 120px;
                        height: 80px;
                        padding-right: 40px;
                        overflow: hidden;
                        text-indent: 10px;
                        // background-color: red;
                        img{
                            width:100%;
                            height:100%;
                        }
                    }
                    .goods_name1{
                        width:420px;
                        font-size: 14px;
                        // height:80px;
                        padding-top:15px;
                    }
                    .goods_price1{
                        width: 75px;
                        padding-right: 84px;
                        text-align: right;
                        color: #424242;
                        padding-top:20px;

                    }
                    .goods_number1{
                        padding-top:10px;

                        .change-goods-num {
                            width: 148px;
                            height: 38px;
                            border: 1px solid #e0e0e0;
                            text-align: center;
                            background-color: #fff;
                            position: relative;
                            zoom: 1;
                            a {
                                float: left;
                                width: 38px;
                                height: 38px;
                                line-height: 38px;
                                color: #757575;
                                font-size: 20px;
                                -webkit-transition: all 0.3s;
                                transition: all 0.3s;
                                .iconfont {
                                    font-family: "iconfont" !important;
                                    font-style: normal;
                                    -webkit-font-smoothing: antialiased;
                                    -webkit-text-stroke-width: 0.2px;
                                    font-weight: 600;
                                }
                            }
                            input {
                                float: left;
                                width: 72px;
                                height: 38px;
                                line-height: 38px;
                                padding: 0;
                                border-width: 0;
                                color: #424242;
                                font-size: 16px;
                                text-align: center;
                            }
                        }
                    }
                    .goods_total1{
                        color: #ff6700;
                        font-size: 16px;
                        display: table-cell;
                        vertical-align: middle;
                        width: 120px;
                        padding-right: 81px;
                        text-align: right;
                        padding-top:20px;

                    }
                    .goods_action1{
                        padding-top:20px;
                        width: 80px;
                        text-align: center;
                        display: inline-block;
                        width: 24px;
                        height: 24px;
                        line-height: 24px;
                        text-align: center;
                        border-radius: 12px;
                        color: #757575;
                        font-size: 16px;
                        -webkit-transition: all 0.3s;
                        transition: all 0.3s;
                        .iconfont {
                            font-family: "iconfont" !important;
                            font-style: normal;
                            -webkit-font-smoothing: antialiased;
                            -webkit-text-stroke-width: 0.2px;
                            font-weight: 600;
                            line-height: 24px;
                            text-align: center;
                            color: #757575;
                            font-size: 16px;
                        }
                    }
                }
            }
        }
    }
}



// buy文字

#text_buy{
    width:1200px;
    margin: 0 auto;
    margin-top:80px;
    border-top:1px solid #e0e0e0;
    height:100px;
    h2{
        position: relative;
        margin: 0px;
        height: 50px;
        font-size: 30px;
        font-weight: 400;
        color: #757575;
        border-top: 1px solid #e0e0e0;
        -webkit-font-smoothing: antialiased;
        width:1200px;
        span{
            width:482px;
            position: absolute;
            display: block;
            // text-align: center;
            margin:0 auto;
            height: 40px;
            line-height: 40px;
            left: 375px;
            top:-25px;
            background-color: #f5f5f5;
            padding-left: 20px;
            padding-right: 20px;
        }
    }
}